/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.entity.supplment;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.server.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

import java.util.Date;

/**
 * 已推送消息用户记录Entity
 * @author 金小敏
 * @version 2017-03-09
 */
public class TSupplmentMember extends DataEntity<TSupplmentMember> {
	
	private static final long serialVersionUID = 1L;
	protected String memberId;		// 用户编号
	protected String hxUsername;		// 环信username
	protected Date supplmentTime;		// 推送消息时间
	public String getHxUsername() {
		return hxUsername;
	}

	public void setHxUsername(String hxUsername) {
		this.hxUsername = hxUsername;
	}

	public TSupplmentMember() {
		super();
	}

	public TSupplmentMember(String id){
		super(id);
	}

	@Length(min=0, max=255, message="用户编号长度必须介于 0 和 255 之间")
	public String getMemberId() {
		return memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getSupplmentTime() {
		return supplmentTime;
	}

	public void setSupplmentTime(Date supplmentTime) {
		this.supplmentTime = supplmentTime;
	}
	
}